From de3179e7c0c1db203b10e08129bbfa0c7e71b0aa Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 17 Sep 2017 16:49:33 -0400 Subject: [PATCH] Drop aliases for outline radius The outline-{top,bottom}-{left,right}-radius names have been deprecated for a while, so lets remove them. Everybody should just use the -gtk-prefixed names for these properties. --- gtk/gtkcssshorthandpropertyimpl.c | 1 - gtk/gtkcssstylepropertyimpl.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c index 748fb8b1c5..7562d0952a 100644 --- a/gtk/gtkcssshorthandpropertyimpl.c +++ b/gtk/gtkcssshorthandpropertyimpl.c @@ -1126,7 +1126,6 @@ _gtk_css_shorthand_property_init_properties (void) outline_radius_subproperties, parse_border_radius, pack_border_radius); - _gtk_style_property_add_alias ("-gtk-outline-radius", "outline-radius"); _gtk_css_shorthand_property_register ("outline", G_TYPE_NONE, outline_subproperties, diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index dcf93617a9..3a3db71d3f 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -1237,7 +1237,6 @@ _gtk_css_style_property_init_properties (void) NULL, _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX), _gtk_css_number_value_new (0, GTK_CSS_PX))); - _gtk_style_property_add_alias ("-gtk-outline-top-left-radius", "outline-top-left-radius"); gtk_css_style_property_register ("-gtk-outline-top-right-radius", GTK_CSS_PROPERTY_OUTLINE_TOP_RIGHT_RADIUS, G_TYPE_NONE, @@ -1247,7 +1246,6 @@ _gtk_css_style_property_init_properties (void) NULL, _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX), _gtk_css_number_value_new (0, GTK_CSS_PX))); - _gtk_style_property_add_alias ("-gtk-outline-top-right-radius", "outline-top-right-radius"); gtk_css_style_property_register ("-gtk-outline-bottom-right-radius", GTK_CSS_PROPERTY_OUTLINE_BOTTOM_RIGHT_RADIUS, G_TYPE_NONE, @@ -1257,7 +1255,6 @@ _gtk_css_style_property_init_properties (void) NULL, _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX), _gtk_css_number_value_new (0, GTK_CSS_PX))); - _gtk_style_property_add_alias ("-gtk-outline-bottom-right-radius", "outline-bottom-right-radius"); gtk_css_style_property_register ("-gtk-outline-bottom-left-radius", GTK_CSS_PROPERTY_OUTLINE_BOTTOM_LEFT_RADIUS, G_TYPE_NONE, @@ -1267,7 +1264,6 @@ _gtk_css_style_property_init_properties (void) NULL, _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX), _gtk_css_number_value_new (0, GTK_CSS_PX))); - _gtk_style_property_add_alias ("-gtk-outline-bottom-left-radius", "outline-bottom-left-radius"); gtk_css_style_property_register ("background-clip", GTK_CSS_PROPERTY_BACKGROUND_CLIP, -- 2.30.2